package com.uetoken.cn.manager;

import com.uetoken.cn.adapter.model.AmountCardModel;
import com.uetoken.cn.adapter.model.DenominationModel;
import com.uetoken.cn.adapter.model.PageNumBottonModel;
import com.uetoken.cn.adapter.model.PurchaseDetailTableModel;
import com.uetoken.cn.adapter.model.ShipmentTabelMobel;
import com.uetoken.cn.adapter.model.WalletStripModel;
import com.uetoken.cn.adapter.model.WalletsModel;
import com.uetoken.cn.bean.SubPursesBean;

import java.util.HashMap;
import java.util.List;

public class UEDataManager {

    private static UEDataManager _sInstance;

    private List<WalletsModel> mWalletsModelList;
    private List<WalletStripModel> mWalletStripModelList;
    private List<AmountCardModel> mAmountCardModelList;
    private List<PurchaseDetailTableModel> mPurchaseDetailTableList;
    private List<PageNumBottonModel> pageSumList;
    private List<DenominationModel> mDenominationModelList;
    private List<ShipmentTabelMobel> mShipmentTabelMobelList;
    private List<SubPursesBean.DataBean> mChildPurseList;

    public static UEDataManager getInstance() {
        if (_sInstance == null) {
            _sInstance = new UEDataManager();
        }
        return _sInstance;
    }

    public List<WalletsModel> getWalletsModelList() {
        return mWalletsModelList;
    }

    public void setWalletsModelList(List<WalletsModel> mWalletsModelList) {
        this.mWalletsModelList = mWalletsModelList;
    }

    public List<WalletStripModel> getWalletStripModelList() {
        return mWalletStripModelList;
    }

    public void setWalletStripModelList(List<WalletStripModel> mWalletStripModelList) {
        this.mWalletStripModelList = mWalletStripModelList;
    }

    public List<AmountCardModel> getAmountCardModelList() {
        return mAmountCardModelList;
    }

    public void setAmountCardModelList(List<AmountCardModel> mAmountCardModelList) {
        this.mAmountCardModelList = mAmountCardModelList;
    }

    public List<PurchaseDetailTableModel> getPurchaseDetailTableList() {
        return mPurchaseDetailTableList;
    }

    public void setPurchaseDetailTableList(List<PurchaseDetailTableModel> mPurchaseDetailTableList) {
        this.mPurchaseDetailTableList = mPurchaseDetailTableList;
    }

    public List<PageNumBottonModel> getPageSumList() {
        return pageSumList;
    }

    public void setPageSumList(List<PageNumBottonModel> pageSumList) {
        this.pageSumList = pageSumList;
    }

    public List<DenominationModel> getDenominationModelList() {
        return mDenominationModelList;
    }

    public void setDenominationModelList(List<DenominationModel> mDenominationModelList) {
        this.mDenominationModelList = mDenominationModelList;
    }

    public List<ShipmentTabelMobel> getShipmentTabelMobelList() {
        return mShipmentTabelMobelList;
    }

    public void setShipmentTabelMobelList(List<ShipmentTabelMobel> mShipmentTabelMobelList) {
        this.mShipmentTabelMobelList = mShipmentTabelMobelList;
    }

    public List<SubPursesBean.DataBean> getChildPurseList() {
        return mChildPurseList;
    }

    public void setChildPurseList(List<SubPursesBean.DataBean> childPurseList) {
        this.mChildPurseList = childPurseList;
    }

    public HashMap<String, Integer> getOpensType() {
        HashMap<String, Integer> mPlatformMap = new HashMap<>();
        mPlatformMap.put("UE", 0);
        mPlatformMap.put("QQ", 1);
        mPlatformMap.put("WEIXIN", 2);
        mPlatformMap.put("SINA", 3);
        mPlatformMap.put("PCN", 4);
        mPlatformMap.put("YOUGU", 5);
        return mPlatformMap;
    }
}
